@import "variable";

nav {
  .dd {
    height: 480px;
  }
  .dd_layer {
    left: 189px;
  }
  .dd.menu {
    position: absolute;
    width: 210px;
    display: none;
  }
}

@media only screen and (min-width: 1230px) {
  nav {
    .dd_layer {
      width: 1001px !important;
    }
  }
}

@media only screen and (max-width: 1230px) {
  nav {
    .dd_layer {
      width: 801px !important;
    }
  }

  .itemInfo {
    width: 42% !important;
  }

  .extInfo {
    width: 22% !important;
  }
}

nav .dd_layer {
  top: 2px;
  left: 209px;
}

.Hot_products {
  height: 152px;
  background-color: #f1f1f1;
  position: relative;
  margin-bottom: 20px;
  .hd {
    width: 45px;
    height: 80px;
    position: absolute;
    top: 0;
    line-height: 18px;
    padding: 20px 10px 0 5px;
    font-size: 14px;
    text-align: center;
    font-family: "microsoft yahei";
    color: #f60;
    background: url(../img/list.icons.png) no-repeat;
  }
  .list {
    display: inline-block;
    height: 100%;
    padding-top: 15px;
  }
  .hd-list {
    .tj-dl {
      padding-left: 55px;
      dl {
        height: 122px;
        background-color: white;
        padding: 11px;
        display: inline-block;
        margin: 0 15px 0 0;
        dt {
          float: left;
          margin-right: 10px;
          .hd-img {
            display: block;
          }
        }
        dd {
          float: left;
          width: 154px;
          height: 100px;
          .hd-price {
            color: @price_red;
            margin: 5px 0;
            font-size: 14px;
          }
          .btn {
            font-size: 12px;
          }
        }
      }
    }
  }
  .cx-list {
    position: absolute;
    top: 0;
    .cx-ul {
      padding-left: 65px;
      overflow: hidden;
      height: 100%;
      .cx-content {
        list-style: disc;
        margin: 0;
        li {
          margin: 5px 0;
        }
      }
    }
  }
}

.crumbs-nav {
  height: 30px;
  line-height: 30px;
  h3 {
    display: inline-block;
    font-weight: 800;
    margin: 0;
    font-size: 20px;
  }
  span {
    font-size: 13px;
  }
}

.main-box {
  padding: 0;
  margin-bottom: 10px;
  .filter {
    margin-bottom: 10px;
    .filter-nav {
      height: 35px;
      line-height: 35px;
      background-color: @bg_light_grey;
      border: 1px solid @border_grey;
      border-right: none;
      border-left: none;
      h4 {
        padding-left: 10px;
        display: inline-block;
        b {
          color: @font_red;
        }
      }
      span {
        padding-left: 20px;
      }
    }
    .filter-wrap {
      position: relative;
      border-bottom: 1px solid @border_grey;
      padding-top: 10px;
      .filter-title {
        float: left;
        width: 100px;
        padding-left: 10px;
      }
      .filter-value {
        margin-left: 110px;
        padding-right: 130px;
        padding-left: 10px;
        overflow: hidden;
        .more-hide {
          display: none;
        }
        .more-show {
          display: inline-block;
        }
        ul {
          margin: 0;
          li {
            display: inline-block;
            margin: 0 50px 10px 0;
          }
        }
        a {
          color: @price_blue;
          &:hover {
            color: @font_red;
          }
        }
        .filter-logos {
          padding-top: 5px;
          margin-bottom: 10px;
          li {
            float: left;
            padding: 0;
            border: 1px solid #DDD;
            text-align: center;
            margin: -1px -1px 0 0;
            a {
              display: block;
              width: 116px;
              height: 48px;

              img {
                width: 100%;
                height: 100%;
              }
            }
          }
        }
        .filter-price {
          float: left;
          margin-bottom: 4px;
          margin-top: 2px;
          .input-txt {
            float: left;
            width: 38px;
            padding: 1px;
            display: inline-block;
            height: 20px;
          }
          em {
            float: left;
            line-height: 21px;
            padding: 0 3px;
            color: #CCC;
          }
          .btn {
            margin-left: 5px;
            padding: 0 10px;
            float: left;
            color: #666;
            font-size: 13px;
          }
        }
      }
      .filter-ext {
        position: absolute;
        top: 9px;
        right: 10px;
        width: 120px;
        height: auto;
        line-height: 22px;
        overflow: hidden;
        zoom: 1;
        .filter-ext-box {
          float: left;
          height: 22px;
          line-height: 22px;
          position: relative;
          i {
            position: absolute;
            display: block;
            height: 20px;
            width: 20px;
            top: 0;
            background-image: url("../img/search.ele.png");
            background-repeat: no-repeat;
            transition: all .15s ease-in-out;
          }
        }
        .more {
          margin-right: 20px;
          width: 50px;
          background: #fff;
          .pack-up {

            background-position: 3px -28px;
          }
          &:hover > .pack-up {
            border-color: @font_red;
            background-position: 3px -46px;

          }
          i {
            right: 0;
            border: 1px solid #DDD;
            background-position: 3px 7px;
          }
          &:hover > i {
            border-color: @font_red;
            background-position: 3px -10px;
          }
        }
        .multiple {
          border: 1px solid @bg_light_grey;
          padding: 0 3px 0 18px;
          background: #F8F8F8;
          i {
            left: 3px;
            background-position: 0 -63px;
          }
          &:hover > i {
            background-position: 0 -84px;
          }

        }
      }
    }
    .more-choices {
      text-align: center;
      position: relative;
      top: -1px;
      border-top: 1px solid #ddd;
      -webkit-transition: border-color .15s ease-in-out;
      -moz-transition: border-color .15s ease-in-out;
      transition: border-color .15s ease-in-out;
      .choices-box {
        position: relative;
        display: inline-block;
        margin-top: -1px;
        height: 28px;
        line-height: 28px;
        padding: 0 40px 0 20px;
        border-width: 1px;
        border-style: solid;
        border-color: #FFF #DDD #DDD;
        background: #fff;
        cursor: pointer;
        color: #333;
        -webkit-transition: border-color .15s ease-in-out;
        -moz-transition: border-color .15s ease-in-out;
        transition: border-color .15s ease-in-out;
        .choices-box-up {
          background-position: 3px -28px;
        }
        i {
          position: absolute;
          right: 16px;
          top: 4px;
          display: inline-block;
          width: 20px;
          height: 20px;
          background: url(../img/search.ele.png) no-repeat 4px 7px;
        }
      }
      &:hover {
        border-color: #e4393c;
      }
      &:hover > .choices-box {
        color: #e4393c;
        border-color: #FFF #e4393c #e4393c;
      }
      &:hover > .choices-box i {
        background-position: 4px -10px;
      }
      &:hover > .choices-box .choices-box-up {
        border-color: @font_red;
        background-position: 3px -45px;
      }
    }
  }

  .main-content {
    width: 100%;
    overflow: hidden;
    .aside-bar {
      width: 20%;
      float: left;
      .main-aside {
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ddd;
        .aside-title {
          margin-bottom: 20px;
          h5 {
            display: inline-block;
            margin: 0;
          }
          span {
            float: right;
            color: #DDDDDD;
          }
        }
        .aside-list {
          .article-list {
            li {
              margin-bottom: 15px;
              figure {
                margin-bottom: 5px;
                .figure-img {
                  width: 100%;
                  height: 220px;
                  display: block;
                  margin-bottom: 10px;
                  img {
                    width: 100%;
                    height: 100%;
                  }
                }
              }
              .p-price {
                color: #e4393c;
                font-size: 16px;
                a {
                  display: inline-block;
                  height: 16px;
                  padding: 0 2px;
                  margin-left: 3px;
                  background: #E4393C;
                  line-height: 16px;
                  text-align: center;
                  font-size: 12px;
                  font-style: normal;
                  color: #FFF;
                }
              }
              .evaluate {
                color: #999;
              }
            }
          }
        }
      }
    }
    .main-list {
      float: right;
      width: 79%;
      .list-filter {
        border-top: 1px solid #DDD;
        margin-bottom: 12px;
        .filter-nav {
          padding: 6px 8px;
          border-bottom: 1px solid #E7E3E7;
          background: #F9F9F9;
          height: 38px;
        }
        .nav-a {
          background: #F1F1F1;
          line-height: 25px;
          .f-sort {
            float: left;
            a {
              padding: 0 20px;
              border: 1px solid #CCC;
              background: #FFF;
              color: #333;
              height: 25px;
              float: left;
              &:hover {
                color: #C81623;
                border-color: #e4393c;
              }
              i {
                display: none;
                background-image: url(../img/search.ele.png);
                background-repeat: no-repeat;
                background-position: 0 -225px;
                width: 13px;
                height: 13px;
                overflow: hidden;
                font-size: 0;
                vertical-align: middle;
              }
            }
            .active {
              background: #e4393c;
              color: white;
              border-color: #e4393c;
              &:hover {
                color: white;
              }
            }
          }
          .f-pager {
            float: right;
            .fp-text {
              float: left;
              margin-right: 10px;
              font-family: verdana;
              b {
                color: #e4393c;
              }
              em, i {
                font-weight: 400;
                font-style: normal;
              }
            }
            .fp-prev, .fp-next {
              width: 46px;
              height: 25px;
              border: 1px solid #DDD;
              background: #FFF;
              line-height: 25px;
              font-family: "\5b8b\4f53";
              text-align: center;
              font-size: 16px;
              color: #AAA;
              margin-right: -1px;
              float: left;
            }
          }
        }
        .nav-b {
          .area_wrap {
            display: inline-block;
            vertical-align: middle;
          }
        }
      }
      .plist {
        width: 100%;
        .plist-ul {
          li {
            float: left;
            width: 25%;
            padding: 15px 8px 0 8px;
            transition: all .2s ease;
            height: 436px;
            figure {
              margin-bottom: 5px;
              a {
                display: block;
                width: 100%;
                height: 220px;
                img {
                  width: 100%;
                  height: 100%;
                }
              }
            }
            .p-scroll {
              margin-bottom: 5px;
              a {
                display: inline-block;
                width: 29px;
                height: 29px;
                padding: 1px;
                border: 1px solid #ddd;
                margin-right: 3px;
                &:hover {
                  padding: 0;
                  border-width: 2px;
                  border-color: #e4393c;
                }
              }
              .p-scroll-active {
                padding: 0;
                border-width: 2px;
                border-color: #e4393c;
              }
            }
            .p-price {
              color: #e4393c;
              font-size: 20px;
              margin-bottom: 5px;
            }
            .p-name {
              margin-bottom: 5px;
            }
            .evaluate {
              color: #999;
              margin-bottom: 5px;
            }
            .p-icons {
              margin-bottom: 5px;
              a {
                display: inline-block;
                height: 16px;
                padding: 0 2px;
                margin-left: 3px;
                background: #E4393C;
                line-height: 16px;
                text-align: center;
                font-size: 12px;
                font-style: normal;
                color: #FFF;
              }
            }
            .p-opt {
              width: 100%;
              height: 0;
              overflow: hidden;
              transition: height .3s;
              display: flex;
              justify-content: space-between;
              a {
                margin: 8px 0;
                width: 48%;
                text-align: center;
              }
            }
            &:hover {
              box-shadow: 0 0 2px 2px #f8f8f8;
              border-color: #e9e9e9;
              z-index: 2;
              > .p-opt {
                height: 51px;
                border-top: 1px dashed #EAEAEA;
                margin-bottom: 4px;
              }
            }
          }
        }
      }
      .pager-box {
        margin: 20px 0;
        text-align: right;
        .p-num {
          display: inline-block;
          vertical-align: middle;
          .pagination {
            margin: 0;
            li {
              float: left;
              margin-right: 5px;
              &:nth-child(5) {
                font-size: 20px;
                line-height: 45px;
                padding: 0 16px;

              }
            }
          }

        }
        .p-skip {
          vertical-align: middle;
          display: inline-block;
          height: 46px;

          em {
            margin: 5px;
          }
          input {
            display: inline-block;
            height: 46px;
            width: 46px;
            text-align: center;
          }

        }
      }
    }
  }

  .sift-box {
    border: 1px solid #ddd;
    .sift-list {
      .aside-title {
        h5 {
          display: inline-block;
        }
        span {
          float: right;
        }
      }
      .aside-list {
        padding: 15px 30px;
        .article-list {
          display: flex;
          justify-content: space-between;
          li {
            display: inline-block;
            width: 220px;
            figure {
              margin-bottom: 5px;
              .figure-img {
                width: 100%;
                height: 220px;
                display: block;
                margin-bottom: 10px;
                img {
                  width: 100%;
                  height: 100%;
                }
              }
            }
            .p-price {
              color: #e4393c;
              font-size: 16px;
              a {
                display: inline-block;
                height: 16px;
                padding: 0 2px;
                margin-left: 3px;
                background: #E4393C;
                line-height: 16px;
                text-align: center;
                font-size: 12px;
                font-style: normal;
                color: #FFF;
              }
            }
            .evaluate {
              color: #999;
            }
          }
        }
      }
    }
  }
}

